package com.tangyuan.user.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.tangyuan.common.result.Result;
import com.tangyuan.dto.EnrollRecordDto;
import com.tangyuan.model.User;
import com.tangyuan.model.activity.Enroll;
import com.tangyuan.model.activity.EnrollRecord;

/**
 * @Description: enroll_record
 * @Author: jeecg-boot
 * @Date:   2024-03-20
 * @Version: V1.0
 */
public interface IEnrollRecordService extends IService<EnrollRecord> {


    Result<Object> saveEnroll(User user, Enroll enroll);

    Result<Object> saveEnrollRecord(User user, EnrollRecordDto enrollRecordDto);
    Result<Object> getEnrollListByUserId(Long userId, Long activityId);

    Result<Object> getEnrollTicketTypeName(Long userId, Long activityId);
}
